package nc.ui.arap.selectedpay;

import nc.ui.arap.pubdj.ARAPDjCardPanel;
public class LinkageListenerImp implements LinkageListener {
  public LinkageListenerImp() {
  }
  public void linkage(LinkageEvent e) {
    /**@todo Implement this nc.ui.arap.selectedpay.LinkageListener method*/
    //throw new java.lang.UnsupportedOperationException("Method linkage() not yet implemented.");
    ARAPDjCardPanel source=(ARAPDjCardPanel)e.getSource();
    String key=e.getKey();
    if(source.getBillCardPanelDj().getBodyItem(key)!=null)
    {
      int row=source.getBillCardPanelDj().getRowCount();
      for(int i=0;i<row;i++)
      {
        source.getBillCardPanelDj().setBodyValueAt(source.getBillCardPanelDj().getHeadItem(key).getValueObject(),i,key);
      }
    }
  }

}
